﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Collections.Generic;

namespace Ccit.Mgoa.Collaboration
{
    public class MsCollaborativeTopic
    {
        private string _id;
        private string _title;
        private string _typeId;
        private string _content;
        private string _publisherId;
        private string _publisherName;
        private string _publishDate;
        private string _finishDate;
        private string _rangeType;
        private string _rangeId;
        private string _status;
        private string _createDate;
        private bool _isMsgRemind;
        private bool _isPhoneRemind;
        private MsCollaborativeType _msCollaborativeType;
        private List<MsComment> _lstComment;

        /// <summary>
        /// 协作ID
        /// </summary>
        public string Id { set { _id = value; } get { return ((!string.IsNullOrEmpty(_id)) ? _id : ""); } }

        /// <summary>
        /// 协作标题
        /// </summary>
        public string Title { set { _title = value; } get { return ((!string.IsNullOrEmpty(_title)) ? _title : ""); } }

        /// <summary>
        /// 协作类型
        /// </summary>
        public string TypeId { set { _typeId = value; } get { return ((!string.IsNullOrEmpty(_typeId)) ? _typeId : ""); } }

        /// <summary>
        /// 协作内容
        /// </summary>
        public string Content { set { _content = value; } get { return ((!string.IsNullOrEmpty(_content)) ? _content : ""); } }

        /// <summary>
        /// 发布人
        /// </summary>
        public string PublisherId { set { _publisherId = value; } get { return ((!string.IsNullOrEmpty(_publisherId)) ? _publisherId : ""); } }

        /// <summary>
        /// 发布人姓名
        /// </summary>
        public string PublisherName { set { _publisherName = value; } get { return ((!string.IsNullOrEmpty(_publisherName)) ? _publisherName : ""); } }

        /// <summary>
        /// 发布日期
        /// </summary>
        public string PublishDate { set { _publishDate = value; } get { return ((!string.IsNullOrEmpty(_publishDate)) ? _publishDate : ""); } }

        /// <summary>
        /// 终止日期
        /// </summary>
        public string FinishDate { set { _finishDate = value; } get { return ((!string.IsNullOrEmpty(_finishDate)) ? _finishDate : ""); } }

        /// <summary>
        /// 协作范围类型
        /// </summary>
        public string RangeType { set { _rangeType = value; } get { return ((!string.IsNullOrEmpty(_rangeType)) ? _rangeType : ""); } }

        /// <summary>
        /// 协作范围Id
        /// </summary>
        public string RangeId { set { _rangeId = value; } get { return ((!string.IsNullOrEmpty(_rangeId)) ? _rangeId : ""); } }

        /// <summary>
        /// 协作状态
        /// </summary>
        public string Status { set { _status = value; } get { return ((!string.IsNullOrEmpty(_status)) ? _status : ""); } }

        /// <summary>
        /// 创建日期
        /// </summary>
        public string CreateDate { set { _createDate = value; } get { return ((!string.IsNullOrEmpty(_createDate)) ? _createDate : ""); } }

        public bool IsMsgRemind { set { _isMsgRemind = value; } get { return _isMsgRemind; } }

        public bool IsPhoneRemind { set { _isPhoneRemind = value; } get { return _isPhoneRemind; } }

        public MsCollaborativeType msCollaborativeType { set { _msCollaborativeType = value; } get { return _msCollaborativeType; } }

        public List<MsComment> lstComment { set { _lstComment = value; } get { return _lstComment; } }

        public MsCollaborativeTopic() { }
    }
}
